package com.ziyueyuwen.xiniao.dao;

import com.ziyueyuwen.xiniao.bean.user.TbAuthInfo;

import java.util.List;

/**
 * @author jun 2018/11/20
 */
public interface TbAuthInfoMapper {

    /**
     * add
     *
     * @param tbAuthInfo TbAuthInfo
     * @return Boolean
     */
    Boolean add(TbAuthInfo tbAuthInfo);

    /**
     * getById
     *
     * @param id Integer
     * @return TbAuthInfo
     */
    TbAuthInfo getById(Integer id);

    /**
     * listAll
     *
     * @return List<TbAuthInfo>
     */
    List<TbAuthInfo> listAll();
}
